.top-nav {
    // margin-left: $sideBarWidth;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    // height: 56px;
    // height:100%;
    
   
    .log {
      padding: 0 20px;
      line-height: 56px;
      font-size: 24px;
      font-weight: bold;
      color: rgb(191, 203, 217);
      float: left;
    }
    .el-menu {
      float: left;
      border: none!important;
      background-color: #fff;
      // margin-left: 1050px;

      .nav-item {
        display: inline-block;
        
        .container{
          display: block;
          width: 150px;
          text-align: center;
        }
        .el-menu-item {
         
          color: #000;
          // &:hover {
          //  background-color: #5084FB  !important;
          //  color: #fff !important;
          // }
         
       
        }
     
      }
    }

    .right-menu {
      // float: right;
      margin-left: 300px;
      height: 100%;
      
      &:focus {
        outline: none;
      }

      .right-menu-item {
        display: inline-block;
        padding: 0 8px;
        height: 100%;
        font-size: 18px;
        color: #5a5e66;
        vertical-align: text-bottom;
     
      
        &.hover-effect {
          cursor: pointer;
          transition: background .3s;

      &:hover {
            background: rgba(0, 0, 0, .025)
          }    
        } 
        // &.active {
        //   /* 点击后保持样式 */
        //   background-color: #5084FB !important;
        //   color: #fff !important;
          
        // }
      
      }
     
      .avatar-container {
        // margin-right: 30px;
        display: flex;
        margin-left: 20px;
        position: absolute;
        right: 0;

        .avatar-wrapper {
          margin-top: 13px;
          position: relative;
          border-radius: 50%;
          margin-left: 15px;
          
          .user-avatar {
            cursor: pointer;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            align-items: center;
          }
         

          .el-icon-caret-bottom {
            cursor: pointer;
            position: absolute;
            right: -20px;
            top: 25px;
            font-size: 12px;
          }
        }
        .username{
          // background-color: pink;
          margin-left: 30px;
          padding-right: 30px;
          display: flex;
          cursor: pointer;
          align-items: center;
          line-height: 56px;
        }
      }
    }
  }
